<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>组件-局部注册</title>
</head>
<body>
<div id="app">
    <!-- 通过组件名直接使用 -->
    <app-header></app-header>
    <app-main></app-main>
    <app-footer></app-footer>

</div>

<script src="node_modules/vue/dist/vue.js"></script>

<script src="component/Header.js"></script>
<script src="component/Footer.js"></script>
<script src="component/Main.js"></script>

<script>
    new Vue({
        el: "#app",


    });
</script>
</body>
</html>
